package com.leetcode;

import java.util.ArrayList;
import java.util.List;

/**
 * 401. 二进制手表
 *
 * @author fy
 * @date 2022/4/29 15:40
 */
public class Solution401 {

    private final static int[] MINUTE = new int[]{1, 2, 4, 8, 16, 32};
    private final static int[] HOUR = new int[]{1, 2, 4, 8};
    private List<String> res = new ArrayList<>();

    public List<String> readBinaryWatch(int turnedOn) {
        if (turnedOn < 0) {
            throw new RuntimeException("wrong turnedOn");
        }
        for (int i = 0; i < turnedOn; i++) {
            checkValid(turnedOn, 0, 0, 0);
        }
    }

    private void checkValid(int count1, int count2, int idx1,  int idx2) {
        if (count1 == 0 && ) {

        }
        for (int i = 0; i < HOUR.length; i++) {
            for (int j = 0; j < MINUTE.length; j++) {

            }
        }
    }

    private boolean validHour(int hour) {
        return hour >= 0 && hour <= 11;
    }

    private boolean validMinute(int minute) {
        return minute >= 0 && minute <= 59;
    }

}
